Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename snmptrapd command line program to navtrapd #2926

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

lunkwill42
Copy link
Member

@lunkwill42 lunkwill42 commented May 27, 2024

Fixes #2882

This really just renames the installed "binary", it does not change the internal module names or references otherwise.

The name conflicts with Net-SNMP's `snmptrapd` program.  The Net-SNMP
utilities are a very common companion to a NAV install, so the struggle
is real.
Reference the new name of the command line program
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.27%. Comparing base (f7c02e2) to head (e9d0ef7).
Report is 3 commits behind head on 5.10.x.

Additional details and impacted files
@@           Coverage Diff           @@
##           5.10.x    #2926   +/-   ##
=======================================
  Coverage   60.27%   60.27%           
=======================================
  Files         602      602           
  Lines       44099    44099           
=======================================
  Hits        26580    26580           
  Misses      17519    17519           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Test results

     12 files       12 suites   12m 2s ⏱️
3 326 tests 3 326 ✔️ 0 💤 0
9 453 runs  9 453 ✔️ 0 💤 0

Results for commit e9d0ef7.

@lunkwill42 lunkwill42 marked this pull request as ready for review May 27, 2024 09:19
@lunkwill42 lunkwill42 self-assigned this May 27, 2024
@lunkwill42 lunkwill42 requested a review from a team May 27, 2024 09:19
@lunkwill42 lunkwill42 added the bug label May 27, 2024
Copy link
Contributor

@stveit stveit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not also rename the nav.bin.snmptrapd file itself? Partly renaming seems like something that could be confusing

@lunkwill42
Copy link
Member Author

Why not also rename the nav.bin.snmptrapd file itself? Partly renaming seems like something that could be confusing

Simply because it's more work (than a simple bugfix) :)

@hmpf hmpf self-requested a review June 3, 2024 07:47
Copy link
Contributor

@hmpf hmpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge this now, do the internal rename(s) in a later patch-release so that we can get feedback on the new externally visible name as soon as possible.

@lunkwill42 lunkwill42 merged commit d2852f9 into 5.10.x Jun 3, 2024
17 checks passed
@lunkwill42 lunkwill42 deleted the bugfix/rename-snmptrapd branch June 3, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants